﻿.contentoverlay {
    position: relative;
    margin: 100px auto;
    left: auto;
    background-color: #fff;
    z-index: 1001;
    text-align: center;
    padding: 20px;
}

.backgroundoverlay {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: gray;
    opacity: .3;
}



#overlay {
    visibility: hidden;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 1000;
}

.headeroverlay {
    height: 39px;
    font-size: 16px;
    color: white;
    background-color: #0090CB;
    padding: 10px 5px;
    margin: -20px;
    text-align: left;
}

.bodyoverlay {
    margin: 20px auto;
    text-align: left;
}


/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modalloading {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('/Style/images/loading.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

    /* Anytime the body has the loading class, our
   modal element will be visible */
    body.loading .modalloading {
        display: block;
    }
